export default {
	setCache(key: string, value: any) {
		localStorage.setItem(key, JSON.stringify(value))
	},
	getCache(key: string) {
		return JSON.parse(localStorage.getItem(key) || '{}')
	},
	removeCache(key: string) {
		localStorage.removeItem(key)
	},
	clear() {
		localStorage.clear()
	}
}
